package priv.pfz.raft.network.dto;

import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import priv.pfz.raft.common.ToString;

/**
 * @author pengfangzhou
 * @date 2022/2/3 18:12
 */
@Getter
@Setter
public class BaseReq extends ToString {
    private String sender;
    private String receiver;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
    }
}
